home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- GEDEV 1.00
-
- Developers Kit
-
- for GEcho 1.00
-
-
- Last updates: 12-Oct-92
-
-
-
- Documentation written by Gerard J. van der Land
- Copyright (C) 1992 Gerard J. van der Land
- All rights reserved
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Gerard J. van der Land
- Cannenburg 23
- 3772 BH Barneveld
- The Netherlands
-
- FidoNet 2:283/15
- SIGnet 27:4331/109
-
- Phone: +31-3420-21792
-
- If you should want to call me from the USA, please note that the time
- in Holland is 6 to 8 hours later (GMT+1), so please call between 13:00
- and 18:00 ET.
-
- My system is only online on Monday-Friday from 07:00 - 16:30 CET,
- which is 01:00 - 10:30 US Eastern Time and 06:00 - 15:30 GMT.
- Modem: USRobotics HST 16.8K dual standard with V.32bis
-
- The GE environment variable
-
-
- GEcho and GSETUP will first try to open SETUP.GE in the current
- directory. If that fails, it uses the path name pointed to by the GE
- environment variable. Notice that this variable can also contain a
- text color to be used by the software. I know some people may think
- that's stupid, but that's the way it is and I'm not going to change
- it. :-)
-
- The directory where SETUP.GE was found is considered the "system
- path", where a few other system files are stored too.
-
- The system files
-
-
- SETUP.GE The system file, contains addresses, pathnames,
- filenames, etc.
-
- Your software should check that the system file
- revision level (sysrev) is the same as GE_THISREV.
-
- AREAFILE.GE The area database, contains information about the
- areaname, comment, areanumber, systems to export to,
- etc. The file consists of a header and area records.
-
- Your software should check that Area.hdrsize is not
- smaller than the sizeof(AREAFILE_HDR) expected by your
- software.
-
- The area records themselves consist of two parts.
- The total size (arearecsize) of both parts is:
- AreaHdr.recsize + AreaHdr.systems * sizeof(EXPORTENTRY)
-
- To read the first part of an area record, you must
- first do a file seek to the following position:
- AreaHdr.hdrsize + counter * arearecsize
- You can then read up to AreaHdr.recsize bytes.
-
- To read the second part (the export list), you must add
- Area.recsize to the previous position and do a file
- seek to that location. You can then read up to
- AreaHdr.systems * sizeof(EXPORTENTRY) bytes.
-
- GEcho itself will get both parts with one read command,
- and therefore GSETUP must be used to adjust the area
- database to the area recordsize used by your GEcho
- version.
-
- The records are not necessarily sorted in any
- particular order, but "GSETUP Pack" will sort them
- alphabetically by areaname.
-
- Area numbers 1-200 are reserved for areas in Hudson
- message base boards.
- Area numbers 201-1024 are reserved for *.MSG and
- passthru areas.
-
-
- AREAFILE.GEX The area database index file, contains CRC-32's on the
- area names, the area number and the file offsets of the
- area records. The entries are sorted alphabetically by
- areaname.
-
- NODEFILE.GE The node database, contains information about the
- nodes, name of the sysops, which compression programs
- they prefer, etc. The file consists of a header and
- area records.
-
- Your software should you check that Node.hdrsize is not
- smaller than the sizeof(NODEFILE_HDR) expected by your
- software.
-
- To read a node record, you must first do a file seek to
- the following position:
- NodeHdr.hdrsize + counter * NodeHdr.recsize
- You can then read up to NodeHdr.recsize bytes.
-
- The records are not necessarily sorted in any
- particular order, but "GSETUP Pack" will sort them by
- node number.
-
- NODEFILE.GEX The node database index file. The entries are sorted by
- node number.
-
-
- PACKFILE.GE This file contains information about how to route
- netmail messages, packed with GEcho Pack. The Via
- entries are sorted by priority and node number.
-
-
- ECHODUPE.GE This file contains CRC-32's of imported and exported
- echomail messages, which enables GEcho to detect
- duplicates. The number of entries in this file can be
- changed in GSETUP.
-
-
- FTSCPROD.GE This file contains the names of programs that have a
- FTSC assigned product code and their capability.
-
- Structures and sample source code
-
-
- This GEDEV archive contains two archives with structures and sample
- source code:
-
- C.ZIP Contains a .h header file and .c source code.
-
- PASCAL.ZIP Contains a .inc include file and .pas source code.